Skip to content

Remove event listeners from CompositeStream once closed and remove remove undocumented left-over close event argument #116

Merged
WyriHaximus merged 2 commits intoreactphp:masterfrom
clue-labs:close
Oct 11, 2017
Merged

Remove event listeners from CompositeStream once closed and remove remove undocumented left-over close event argument #116
WyriHaximus merged 2 commits intoreactphp:masterfrom
clue-labs:close

Conversation

@clue
Copy link
Member

@clue clue commented Oct 10, 2017

This simple PR ensures that pending event listeners are removed after closing the (rarely used) CompositeStream in order to simplify garbage collection.

Builds on top of #107 and #69

@clue clue added this to the v0.7.4 milestone Oct 10, 2017
@WyriHaximus WyriHaximus merged commit 1da4a66 into reactphp:master Oct 11, 2017
@clue clue deleted the close branch October 11, 2017 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants